package com.site.wisdom_construction.entity.safetyModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-10 
 */

@ApiModel (value ="安全隐患类型表实体类",description = "SafetyDangerType")
public class SafetyDangerType {
	/**
	 * 安全隐患风险源表id
	 */
   	@ApiModelProperty(value = "安全隐患类型表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 安全隐患类型名称
	 */
   	@ApiModelProperty(value = "安全隐患类型名称", name = "safetyTypeName")
	private String safetyTypeName;

	/**
	 * 安全隐患类型等级
	 */
   	@ApiModelProperty(value = "安全隐患类型等级", name = "safetyTypeGrade")
	private String safetyTypeGrade;

	/**
	 * 安全隐患类型具体描述
	 */
   	@ApiModelProperty(value = "安全隐患类型具体描述", name = "safetyTypeDescription")
	private String safetyTypeDescription;

	/**
	 * 控制措施
	 */
   	@ApiModelProperty(value = "控制措施", name = "safetyTypeMeasures")
	private String safetyTypeMeasures;

	/**
	 * 责任人
	 */
   	@ApiModelProperty(value = "责任人", name = "constructionPerson")
	private String constructionPerson;

	/**
	 * 责任人电话
	 */
   	@ApiModelProperty(value = "责任人电话", name = "constructionPersonPhone")
	private String constructionPersonPhone;

	/**
	 * 状态(0:不可用 1:可用)
	 */
   	@ApiModelProperty(value = "状态(0:不可用 1:可用)", name = "status")
	private String status;

	public SafetyDangerType(){ super(); }

	public SafetyDangerType(Integer id, Integer projectId, String safetyTypeName, String safetyTypeGrade, String safetyTypeDescription, String safetyTypeMeasures, String constructionPerson, String constructionPersonPhone, String status) {
		this.id = id;
		this.projectId = projectId;
		this.safetyTypeName = safetyTypeName;
		this.safetyTypeGrade = safetyTypeGrade;
		this.safetyTypeDescription = safetyTypeDescription;
		this.safetyTypeMeasures = safetyTypeMeasures;
		this.constructionPerson = constructionPerson;
		this.constructionPersonPhone = constructionPersonPhone;
		this.status = status;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getSafetyTypeName() {
		return safetyTypeName;
	}

	public void setSafetyTypeName(String safetyTypeName) {
		this.safetyTypeName = safetyTypeName;
	}

	public String getSafetyTypeGrade() {
		return safetyTypeGrade;
	}

	public void setSafetyTypeGrade(String safetyTypeGrade) {
		this.safetyTypeGrade = safetyTypeGrade;
	}

	public String getSafetyTypeDescription() {
		return safetyTypeDescription;
	}

	public void setSafetyTypeDescription(String safetyTypeDescription) {
		this.safetyTypeDescription = safetyTypeDescription;
	}

	public String getSafetyTypeMeasures() {
		return safetyTypeMeasures;
	}

	public void setSafetyTypeMeasures(String safetyTypeMeasures) {
		this.safetyTypeMeasures = safetyTypeMeasures;
	}

	public String getConstructionPerson() {
		return constructionPerson;
	}

	public void setConstructionPerson(String constructionPerson) {
		this.constructionPerson = constructionPerson;
	}

	public String getConstructionPersonPhone() {
		return constructionPersonPhone;
	}

	public void setConstructionPersonPhone(String constructionPersonPhone) {
		this.constructionPersonPhone = constructionPersonPhone;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", safetyTypeName='" + safetyTypeName + '\'' +
				", safetyTypeGrade='" + safetyTypeGrade + '\'' +
				", safetyTypeDescription='" + safetyTypeDescription + '\'' +
				", safetyTypeMeasures='" + safetyTypeMeasures + '\'' +
				", constructionPerson='" + constructionPerson + '\'' +
				", constructionPersonPhone='" + constructionPersonPhone + '\'' +
				", status='" + status + '\'' +
				'}';
	}
}
